package com.dingup.homework.bean.DTO;

import com.alibaba.fastjson.JSON;
import com.dingup.homework.enums.HomeworkRecordStatusEnum;

import java.util.List;

/**
 * @author jun 2018/11/15.
 */
public class HomeworkProgressDTO {
    private Integer homeworkRecordId;
    private HomeworkRecordStatusEnum status;
    private Boolean ifSubjective;
    private String studentId;
    private String studentName;
    private Integer progress;
    private Integer totalQuestion;
    private List<TeacherCorrectDTO> correctTeachers;

    public String getStudentId() {
        return studentId;
    }

    public void setStudentId(String studentId) {
        this.studentId = studentId;
    }

    public String getStudentName() {
        return studentName;
    }

    public void setStudentName(String studentName) {
        this.studentName = studentName;
    }

    public Integer getProgress() {
        return progress;
    }

    public void setProgress(Integer progress) {
        this.progress = progress;
    }

    public Integer getTotalQuestion() {
        return totalQuestion;
    }

    public void setTotalQuestion(Integer totalQuestion) {
        this.totalQuestion = totalQuestion;
    }

    public List<TeacherCorrectDTO> getCorrectTeachers() {
        return correctTeachers;
    }

    public void setCorrectTeachers(List<TeacherCorrectDTO> correctTeachers) {
        this.correctTeachers = correctTeachers;
    }

    public Integer getHomeworkRecordId() {
        return homeworkRecordId;
    }

    public void setHomeworkRecordId(Integer homeworkRecordId) {
        this.homeworkRecordId = homeworkRecordId;
    }

    public HomeworkRecordStatusEnum getStatus() {
        return status;
    }

    public void setStatus(HomeworkRecordStatusEnum status) {
        this.status = status;
    }

    public Boolean getIfSubjective() {
        return ifSubjective;
    }

    public void setIfSubjective(Boolean ifSubjective) {
        this.ifSubjective = ifSubjective;
    }

    @Override
    public String toString() {
        return JSON.toJSONString(this);
    }
}
